[NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates it accepts a width= argument: \setupfloat[figure][width=2cm] \starttext \placefigure{}{\externalfigure[picture.png

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Hans Hagen
On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates it accepts a width= argument: \setupfloat[figure][width=2cm] \starttext

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen pra...@wxs.nl wrote: On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Robert Blackstone
width for graphics, so \setupexternalfigures[width=XXXcm] wouldn't work well either. I realize I could define my own macros or something to solve this, but I'm just puzzled that setting width in \setupfloat[figure] doesn't work. Am I reading the manual wrong, or is is just not implemented yet

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Christoph Reller
On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen pra...@wxs.nl wrote: On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
On Sat, Nov 29, 2014 at 8:22 PM, Christoph Reller christoph.rel...@gmail.com wrote: On Sat, Nov 29, 2014 at 11:03 AM, Hans Hagen pra...@wxs.nl wrote: On 11/29/2014 10:49 AM, Mark Szepieniec wrote: I'm trying to set a default width for figures with \setupfloat. However, the command

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Aditya Mahajan
On Sat, 29 Nov 2014, Mark Szepieniec wrote: So I guess my problem is resolved, but I'd still like to understand better why my earlier solution of doing \setupfloat[figure][width=2cm] didn't set a default for later instances of \placefigure. I feel like I might be missing some aspect

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
On Sun, Nov 30, 2014 at 12:48 AM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 29 Nov 2014, Mark Szepieniec wrote: So I guess my problem is resolved, but I'd still like to understand better why my earlier solution of doing \setupfloat[figure][width=2cm] didn't set a default for later

[NTG-context] setupfloat[Myfloat] does not work

2012-02-07 Thread Steffen Wolfrum
Hi, I want to set up individual floats with different spaces before/after. Setting the frame on/off works, but the spaces show no effect: \definefloat[Myfigure][Myfigures] \setupfloat[Myfigure][frame=on,spacebefore=200pt,spaceafter=300pt] \starttext test \placeMyfigure{example

Re: [NTG-context] setupfloat[Myfloat] does not work

2012-02-07 Thread Wolfgang Schuster
Am 07.02.2012 um 13:13 schrieb Steffen Wolfrum: Hi, I want to set up individual floats with different spaces before/after. Setting the frame on/off works, but the spaces show no effect: \definefloat[Myfigure][Myfigures] \setupfloat[Myfigure][frame=on,spacebefore=200pt,spaceafter

Re: [NTG-context] \setupfloat[..][..., after=\stopframedtext] not working?

2009-12-05 Thread Wolfgang Schuster
Am 02.12.2009 um 16:15 schrieb Hans Hagen: Matthijs Kooijman wrote: Hi all, the following example is not working for me: \setupfloat[intermezzo][before=\startframedtext[width=10cm],after=\stopframedtext] \starttext \placeintermezzo{Caption}{Text} \stoptext It fails

[NTG-context] \setupfloat[..][..., after=\stopframedtext] not working?

2009-12-02 Thread Matthijs Kooijman
Hi all, the following example is not working for me: \setupfloat[intermezzo][before=\startframedtext[width=10cm],after=\stopframedtext] \starttext \placeintermezzo{Caption}{Text} \stoptext It fails with the following message: ! Undefined control sequence. \stopframedtext

Re: [NTG-context] \setupfloat[..][..., after=\stopframedtext] not working?

2009-12-02 Thread Hans Hagen
Matthijs Kooijman wrote: Hi all, the following example is not working for me: \setupfloat[intermezzo][before=\startframedtext[width=10cm],after=\stopframedtext] \starttext \placeintermezzo{Caption}{Text} \stoptext It fails with the following message: ! Undefined control sequence

Re: [NTG-context] \setupfloat[..][..., after=\stopframedtext] not working?

2009-12-02 Thread Matthijs Kooijman
Hi Hans, however, floats can have frames anyway so you don't need the framedtext I was not after the frame, but after the width. I want to put some text in a float and have the main body text wrap around that. I can do this by putting the startframedtext inside the placeintermezzo call, but I'd

[NTG-context] big with \setupfloat[figure][indentnext=yes]

2009-11-12 Thread Vyatcheslav Yatskovsky
Hello, I found a bug (?) with \setupfloat[figure][indentnext=yes] If I do Some Text \placefigure[middle]{}{...} Some Text then it's ok, but if Some Text \placefigure[inner]{}{...} Some Text then the next paragraph is NOT indented. It looks ugly, please, fix